Package com.cisco.pt.ipc.sim.impl
Class WirelessCommonImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.WirelessCommonImpl
- All Implemented Interfaces:
IPCObject,Process,WirelessCommon
- Direct Known Subclasses:
WirelessClientProcessImpl,WirelessServerProcessImpl
Information provided by the PKI file:
\class WirelessCommon
\brief WirelessCommon handles and manipulates common wireless settings.
\example network().getDevice("PC0").getProcess("WirelessClient")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionWirelessCommonImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getPort()Information provided by the PKI file:Information provided by the PKI file:getSsid()Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:voidInformation provided by the PKI file:voidvoidInformation provided by the PKI file:voidbooleanInformation provided by the PKI file:voidsetRadioBand(WirelessRadioBand radioBand) Information provided by the PKI file:voidInformation provided by the PKI file:voidsetStandardChannel(StandardChannel channel) Information provided by the PKI file:voidsetWideChannel(WideChannel channel) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
WirelessCommonImpl
public WirelessCommonImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getAuthenType
Information provided by the PKI file:
\brief Returns the authentication type. \return WirelessAuthenType, the authentication type. Authentication types: eAuthenNull = 0, eAuthenWep = 1, eAuthenWPA1_PSK = 2, eAuthenWPA1_EAP = 3, eAuthenWPA2_PSK = 4, eAuthenWPA2_EAP = 5, eAuthenOpen = 6- Specified by:
getAuthenTypein interfaceWirelessCommon- Returns:
- WirelessAuthenType Returns a WirelessAuthenType
-
setAuthenType
- Specified by:
setAuthenTypein interfaceWirelessCommon- Parameters:
type- Takes in a parameter of type
-
setSsid
Information provided by the PKI file:
\brief Sets the SSID. \param ssid, the SSID.- Specified by:
setSsidin interfaceWirelessCommon- Parameters:
ssid- Takes in a parameter of ssid
-
getSsid
Information provided by the PKI file:
\brief Returns the SSID. \return string, the SSID.- Specified by:
getSsidin interfaceWirelessCommon- Returns:
- String Returns a String
-
getNetworkType
Information provided by the PKI file:
\brief Returns the network type. \return WirelessNetworkType, the network type. Network types: eWirelessDisabled = 0x0, eWirelessB = 0x1, eWirelessG = 0x2, eWirelessBGMixed = 0x3, eWirelessN = 0x4, eWirelessA = 0x5, eWirelessMixed = 0x7- Specified by:
getNetworkTypein interfaceWirelessCommon- Returns:
- WirelessNetworkType Returns a WirelessNetworkType
-
setNetworkType
- Specified by:
setNetworkTypein interfaceWirelessCommon- Parameters:
type- Takes in a parameter of type
-
setPort
Information provided by the PKI file:
\brief Sets the wireless port with the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Specified by:
setPortin interfaceWirelessCommon- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
getPort
Information provided by the PKI file:
\brief Returns the wireless port. \return Port, the Port object.- Specified by:
getPortin interfaceWirelessCommon- Returns:
- Port Returns a Port
-
getWepProcess
Information provided by the PKI file:
\brief Returns the WEP process. \return WEPProcess, the WEPProcess object.- Specified by:
getWepProcessin interfaceWirelessCommon- Returns:
- WEPProcess Returns a WEPProcess
-
resetAllAssociations
public void resetAllAssociations()Information provided by the PKI file:
\brief Resets all wireless associations.- Specified by:
resetAllAssociationsin interfaceWirelessCommon
-
getEncryptType
Information provided by the PKI file:
\brief Get encryption type \return WirelessEncryptType, eEncryptNull = 0, eEncryptWep_64bit = 1, eEncryptWep_128bit = 2, eEncryptTKIP = 3, eEncryptAES = 4- Specified by:
getEncryptTypein interfaceWirelessCommon- Returns:
- WirelessEncryptType Returns a WirelessEncryptType
-
setEncryptType
Information provided by the PKI file:
\brief Set encryption type \para type, WirelessEncryptType eEncryptNull = 0, eEncryptWep_64bit = 1, eEncryptWep_128bit = 2, eEncryptTKIP = 3, eEncryptAES = 4 \return none- Specified by:
setEncryptTypein interfaceWirelessCommon- Parameters:
type- Takes in a parameter of type
-
setStandardChannel
Information provided by the PKI file:
\brief Set standard channel \para type, StandardChannel eStandardChannel_1 = 0, eStandardChannel_2 = 1, eStandardChannel_3 = 2, eStandardChannel_4 = 3, eStandardChannel_5 = 4, eStandardChannel_6 = 5, eStandardChannel_7 = 6, eStandardChannel_8 = 7, eStandardChannel_9 = 8, eStandardChannel_10 = 9, eStandardChannel_11 = 10 \return none- Specified by:
setStandardChannelin interfaceWirelessCommon- Parameters:
channel- Takes in a parameter of channel
-
getStandardChannel
Information provided by the PKI file:
\brief Get standard channel \return StandardChannel eStandardChannel_1 = 0, eStandardChannel_2 = 1, eStandardChannel_3 = 2, eStandardChannel_4 = 3, eStandardChannel_5 = 4, eStandardChannel_6 = 5, eStandardChannel_7 = 6, eStandardChannel_8 = 7, eStandardChannel_9 = 8, eStandardChannel_10 = 9, eStandardChannel_11 = 10- Specified by:
getStandardChannelin interfaceWirelessCommon- Returns:
- StandardChannel Returns a StandardChannel
-
setWideChannel
Information provided by the PKI file:
\brief Set wide channel \param channel, StandardChannel eWideChannel_Auto = 0, eWideChannel_3 = 1, eWideChannel_4 = 2, eWideChannel_5 = 3, eWideChannel_6 = 4, eWideChannel_7 = 5, eWideChannel_8 = 6, eWideChannel_9 = 7, \return none- Specified by:
setWideChannelin interfaceWirelessCommon- Parameters:
channel- Takes in a parameter of channel
-
getWideChannel
Information provided by the PKI file:
\brief Get wide channel \return StandardChannel eWideChannel_Auto = 0, eWideChannel_3 = 1, eWideChannel_4 = 2, eWideChannel_5 = 3, eWideChannel_6 = 4, eWideChannel_7 = 5, eWideChannel_8 = 6, eWideChannel_9 = 7,- Specified by:
getWideChannelin interfaceWirelessCommon- Returns:
- WideChannel Returns a WideChannel
-
getRadioBand
Information provided by the PKI file:
\brief Get radio band \return WirelessRadioBand eRadioAuto = 0, eRadioStandard = 1, eRadioWide = 2- Specified by:
getRadioBandin interfaceWirelessCommon- Returns:
- WirelessRadioBand Returns a WirelessRadioBand
-
setRadioBand
Information provided by the PKI file:
\brief Set radio band \param radioBand, WirelessRadioBand eRadioAuto = 0, eRadioStandard = 1, eRadioWide = 2- Specified by:
setRadioBandin interfaceWirelessCommon- Parameters:
radioBand- Takes in a parameter of radioBand
-
getWpaProcess
Information provided by the PKI file:
\brief Get Wpa Process \return WPAProcess, the process that handles and manipulates the WPA encryption process on wireless clients.- Specified by:
getWpaProcessin interfaceWirelessCommon- Returns:
- WPAProcess Returns a WPAProcess
-